package com.zhuangjie.user;

import com.zhuangjie.base.constant.ModuleSecurityNames;
import com.zhuangjie.security.annotations.DefineModuleNameForSecurityFramework;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages="com.zhuangjie.user.feign")
// 在IOC中将会有一个线程池RetryableThreadPool
// @EnableFeignRetry
@DefineModuleNameForSecurityFramework(ModuleSecurityNames.USER)
public class SparkUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(SparkUserApplication.class, args);
    }

}
